package com.dms.modules.community.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("community_follow")
@ApiModel(value = "社区关注", description = "用户关注关系")
public class CommunityFollow {
    
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("ID")
    private Long id;
    
    @ApiModelProperty("用户ID")
    private Long userId;
    
    @ApiModelProperty("被关注用户ID")
    private Long followedUserId;
    
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
} 